package com.addplus.townmall.server.api.model.town;

import com.baomidou.mybatisplus.annotation.TableName;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 积分用户获取记录信息表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("integral_member_obtian")
public class IntegralMemberObtian extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 积分规则主键id
     */
    @TableField("integral_rule_id")
    private Integer integralRuleId;
    /**
     * 积分规则名称
     */
    @TableField("integral_rule_name")
    private String integralRuleName;
    /**
     * 商城用户主键id
     */
    @TableField("member_id")
    private Integer memberId;
    /**
     * 获取积分数量
     */
    @TableField("obtain_count")
    private Integer obtainCount;


}
